/**
 * 
 */
package t4j.generics;

import java.util.ArrayList;
import java.util.List;

/**
 * @author sz
 *
 * create time：2013-1-17
 */
public class SuperTypeWildcards {

	static void writeTo(List<? super Apple> apples){
		apples.add(new Apple());
		
		apples.add(new Jonathan());
		
		apples.add(new Orange());
	}
	
	public static void main(String[] args) {
		
		writeTo(new ArrayList<Apple>());
	}
}
